@import './variables.scss'; // 变量
@import './transition.scss'; // 动画
@import './layout.scss'; // 布局
@import './element-variables.scss'; // element样式
// @import "./homePage.scss"; // 首页样式
@import './rightQuery.scss'; // 右侧悬浮查询，样式
// @import "./table.scss"; // 表格样式
@import './main.scss'; // 主样式

* {
  margin: 0;
  padding: 0;
}
html {
  overflow: hidden;
}

body,
html {
  width: 100%;
  height: 100%;
}
body {
  // overflow: auto;
  // height: auto;
}
body {
  height: 100%;
  background: $moudle-color;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  // font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
  //   "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-family: $chinese-font-family;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

.overtext {
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// 自适应宽度
@media only screen and (max-width: 1920px) and (min-width: 1600px) {
  html {
    font-size: 16px;
  }
}
@media only screen and (max-width: 1600px) and (min-width: 1366px) {
  html {
    font-size: 12px;
  }
}
@media only screen and (max-width: 1366px) and (min-width: 960px) {
  html {
    font-size: 12px;
  }
}
@media only screen and (max-width: 960px) {
  html {
    font-size: 10px;
  }
}
.pr20 {
  padding-right: 20px;
}
.pl20 {
  padding-left: 20px;
}
